
<!--内页详情开始-->
<div class="n_Main">
    <div class="n_left">
        <div class="n_title">
            <h3>合作企业展示</h3>
            <p>PARTNER SHOW</p>
        </div>
        <ul>
            <li><a href="/home/partner">合作企业展示</a></li>
        </ul>
        <div class="map">
            <div id="allmap" style="width:230px; height:190px"></div>
        </div>
        <div class="QQline">
            <a rel="nofollow" target="_blank" @if(!empty(Theme::get('basis_config')['qq']))href="http://wpa.qq.com/msgrd?v=3&uin={{Theme::get('basis_config')['qq']}}&site=qq&menu=yes"@else href="javascript:;"@endif><img src="{{Theme::asset()->url('images/QQ.png')}}" /></a>
        </div>

        <div class="n_contact">
            <img src="{{Theme::asset()->url('images/n_contact.jpg')}}" />
            电话：@if(!empty(Theme::get('site_config')['phone'])){{Theme::get('site_config')['phone']}}@endif<br/>
            邮箱：@if(!empty(Theme::get('site_config')['Email'])){{Theme::get('site_config')['Email']}}@endif<br/>
            地址：@if(!empty(Theme::get('site_config')['company_address'])){{Theme::get('site_config')['company_address']}}@endif<br/>
            网址：<a href="@if(!empty(Theme::get('site_config')['site_url'])){{Theme::get('site_config')['site_url']}}@endif">@if(!empty(Theme::get('site_config')['site_url'])){{Theme::get('site_config')['site_url']}}@endif</a><br/>
        </div>
    </div>

    <div class="n_right">
        <div class="location">
            当前所在位置：首页　>>　合作企业列表
        </div>
        <div class="n_centent">
            　


            <ul class="alMain">

                @if(!empty($list))
                    @foreach($list as $v)
                        <li><a href="{{url('/home/partnerInfo/'.$v['id'])}}"><img src="@if(empty($v['pic'])){{Theme::asset()->url('images/cp.jpg')}}@else {{url($v['pic'])}}@endif" width="216" height="146"/><p>{{$v['title']}}</p></a></li>
                    @endforeach
                @else
                {{--<li><a href="javascript:;"><img src="{{Theme::asset()->url('images/cp.jpg')}}" width="216" height="146"/><p>产品的标题</p></a></li>--}}
                {{--<li><a href="javascript:;"><img src="{{Theme::asset()->url('images/cp.jpg')}}" width="216" height="146"/><p>产品的标题</p></a></li>--}}
                {{--<li><a href="javascript:;"><img src="{{Theme::asset()->url('images/cp.jpg')}}" width="216" height="146"/><p>产品的标题</p></a></li>--}}
                {{--<li><a href="javascript:;"><img src="{{Theme::asset()->url('images/cp.jpg')}}" width="216" height="146"/><p>产品的标题</p></a></li>--}}
                {{--<li><a href="javascript:;"><img src="{{Theme::asset()->url('images/cp.jpg')}}" width="216" height="146"/><p>产品的标题</p></a></li>--}}
                {{--<li><a href="javascript:;"><img src="{{Theme::asset()->url('images/cp.jpg')}}" width="216" height="146"/><p>产品的标题</p></a></li>--}}
                {{--<li><a href="javascript:;"><img src="{{Theme::asset()->url('images/cp.jpg')}}" width="216" height="146"/><p>产品的标题</p></a></li>--}}
                {{--<li><a href="javascript:;"><img src="{{Theme::asset()->url('images/cp.jpg')}}" width="216" height="146"/><p>产品的标题</p></a></li>--}}
                @endif
            </ul>
            <div class="location">
            </div>
            <div class="dataTables_paginate paging_bootstrap row">
                <ul class="pagination">
                    {!! $list->appends($merge)->render() !!}
                </ul>
            </div>
        </div>
    </div>
</div>
<style>
    .pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
        z-index: 2;
        color: #fff;
        background-color: #428bca;
        /* border-color: #428bca; */
        cursor: default;}
    .pagination>li>a, .pagination>li>span {
        position: relative;
        float: left;
        padding: 6px 12px;
        line-height: 1.42857143;
        text-decoration: none;
        color: #428bca;
        background-color: #fff;
        border: 1px solid #ddd;
        margin-left: -1px;}
</style>
<!--内页详情结束-->
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=wsXHR0znPd0KdtXoL4KiGe2lLlfL6IGx"></script>
<script type="text/javascript">
    // 百度地图API功能
    var map = new BMap.Map("allmap");
    var point = new BMap.Point(116.331398,38.897445);
    map.centerAndZoom(point,12);
    // 创建地址解析器实例
    var myGeo = new BMap.Geocoder();
    // 将地址解析结果显示在地图上,并调整地图视野
    myGeo.getPoint("@if(!empty(Theme::get('site_config')['company_address'])){{Theme::get('site_config')['company_address']}}@else北京市@endif", function(point){
        if (point) {
            map.centerAndZoom(point, 16);
            map.addOverlay(new BMap.Marker(point));
        }else{
            // alert("您选择地址没有解析到结果!");
        }
    }, "北京市");
</script>
{!! Theme::asset()->container('custom-css')->usePath()->add('nei-css','css/nei.css') !!}

